package com.iye.puretennis.domain;

/**
 * Created with IntelliJ IDEA.
 * User: jing wu
 * Date: 2015/1/5
 * Time: 17:16
 */
public enum UrlSuffix {

    TEST ("/test"),
    LOGIN("/authorisations"),
    PROFILE("/profile"),
    PROFILE_IMAGE("/profile/image"),
    IDOLS("/idols"),
    GROUPS("/groups"),
    MY_GROUPS("/mygroups"),
    GROUP("/group"),
    GROUP_SEARCH("/group/search"),
    GROUP_JOINREQUEST_REQUEST("/group/joinrequest/request"),
    GROUP_JOINREQUEST_REJECT("/group/joinrequest/reject"),
    GROUP_JOINREQUEST_ACCEPT("/group/joinrequest/accept"),
    GROUP_PARTICIPANTS("/group/participants"),
    LEAVE_GROUP("/group/leave"),

    FRIENDS("/friends"),
    FRIENDS_REQUESTS("/friends/requests"),
    FRIENDS_SEARCH("/friends/search"),
    FRIENDS_JOINREQUEST_REQUEST("/friends/request"),
    FRIENDS_REQUEST_ACCEPT("/friends/request/accept"),
    FRIENDS_REQUEST_REJECT("/friends/request/reject"),
    FRIENDS_DELETE("/friends/delete"),

    AVAILABILITY_SEARCH("/search/availability"),
    APPOINTMENTS("/appointments"),
    APPOINTMENT("/appointment"),
    APPOINTMENT_INVITATION_ACCEPT("/appointment/accept"),
    APPOINTMENT_INVITATION_REJECT("/appointment/reject"),
    APPOINTMENT_INVITATION_REMOVE("/appointment/invitation/cancel"),
    APPOINTMENT_REQUEST_ACCEPT("/appointment/request/accept"),
    APPOINTMENT_REQUEST_REJECT("/appointment/request/reject"),
    APPOINTMENT_REQUEST("/appointment/request"),
    APPOINTMENT_PARTICIPANTS_REMOVE("/appointment/participants/remove"),
    LAST_LOCATION("/appointment/lastlocation"),

    USER_INFORMATION ("/user"),
    MY_AVAILABLES("/user/availabilities"),
    MY_AVAILABLE_TOGGLE("/user/availability"),
    MY_DETAIL("/user/details"),
    UPDATE_PLAYER_SINCE("/user/updateplaysince"),
    USER_THIRD_PART_LOGIN("/user/thirdpartylogin"),
    REGISTER("/user/register"),
    USER_CHECK_UNIQUE("/user/checkunique"),
    USER_IMAGE_DOWNLOAD("/user/imagedownload"),

    NEWS("/news/load"),

    MESSAGES("/chat/read"),
    SEND_MESSAGE("/chat/send"),

    UPDATE_LOCATION("/user/updatelocation"),
    ADD_DEVICE("/user/adddevice"),
    LOGOUT("/logout"),
    SIGN_IN("/user/qiandao");

    private String suffix;

    UrlSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getSuffix() {
        return suffix;
    }
}
